package com.apexedu.biz.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * 规则变动日志表
 * Created by ITKEY on 14-2-26.
 */
@Entity
@Table(name = "T_REGULATION_LOG")
public class TRegulationLog {
    private String wid;
    private String userid;     //用户ID
    private Date sj;              //时间
    private String ms;          //描述
    private String gzid;        //规则ID

    @Id
    @Column(name = "WID")
    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    @Basic
    @Column(name = "USERID")
    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Basic
    @Column(name = "SJ")
    public Date getSj() {
        return (Date)new Date(sj.getTime()).clone();
    }

    public void setSj(Date sj) {
        Date time=(Date) new Date(sj.getTime()).clone();
        this.sj = time;
    }

    @Basic
    @Column(name = "MS")
    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    @Basic
    @Column(name = "GZID")
    public String getGzid() {
        return gzid;
    }

    public void setGzid(String gzid) {
        this.gzid = gzid;
    }
}
